vtd: code cleanup
authorKeir Fraser <keir.fraser@citrix.com>
Fri, 17 Oct 2008 11:04:11 +0000 (12:04 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Fri, 17 Oct 2008 11:04:11 +0000 (12:04 +0100)
commit1e9712f180a24fddc4ef1d9e0b17aee1b5da4524
tree6d8d8d34f43682dac8d0089d55e4da9b74788905
parentddd202ad7803f274a345e64c2768c2538c101afe
vtd: code cleanup

Remove iommu_page_mapping/unmapping, which are redundant because
intel_iommu_map_page/unmap_page can handle their functions.

Correct IRTA_REG_EIMI_SHIFT to IRTA_REG_EIME_SHIFT.

and also remove useless declarations in iommu.c

Signed-off-by: Weidong Han <weidong.han@intel.com>
xen/drivers/passthrough/iommu.c
xen/drivers/passthrough/vtd/intremap.c
xen/drivers/passthrough/vtd/iommu.c